<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="com.asaga.tools.*, java.util.*, java.io.*, java.net.*, java.util.*"%>
<%--
     Author:  Jeremy Sanderlin 
     Date Created: 2007-04-01
     Last Modified: 2006-04-16
     Last Modified By: Jeremy Sanderlin
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="userProfile" scope="session" class="com.asaga.tools.SystemClient_DBImpl" />
<%
    String adminMenu = (String)session.getAttribute("adminMenu");
    TreeSet autismGroupMemberList = (TreeSet)session.getAttribute("AutismGroupMemberList");
    AutismUser2Validate2Group autismGroupMember = null;
    Iterator itr = autismGroupMemberList.iterator();
%>

<html>
    <%@ include file="header.jsp" %>
    <head>List Group Users</head>
    <body>
        <div id="container">
            <%@ include file="topNav.jsp" %>
            <%@ include file="leftside.jsp" %>
            <%@ include file="rightside.jsp" %>            
            <div id="content">
                <ul>
                    <% while(itr.hasNext()){%>
                    <% autismGroupMember = (AutismUser2Validate2Group)itr.next(); %>
                    <li> 
                        <%=autismGroupMember.GetEmail()%>
                        <%if(adminMenu.equals("admin")){ %>  
                        <a href=AutismSiteMasterController?action=group&groupAction=remove&groupId=<%=autismGroupMember.GetGroupId()%>&personId=<%=autismGroupMember.GetPersonId()%>>
                           Remove From Group
                           </a>
                        <% } %>
                    </li>
                    <% } %>
                </ul>
            </div>
            <%@ include file="footer.jsp" %>            
        </div>
    </body>
</html>